package com.beverage.lemonade.process;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;

public class DeleteJson extends JSONObject {

	private List<Integer> deleteList;

	public DeleteJson() {
		super();
		this.deleteList = new ArrayList<Integer>();
	}

	public void setDeleteID(int CONTENT_ID) throws JSONException {
		this.put(String.valueOf(CONTENT_ID), String.valueOf(CONTENT_ID));
		this.deleteList.add(CONTENT_ID);
	}

	public void setDeleteID(String CONTENT_ID) throws JSONException {
		this.put(CONTENT_ID, CONTENT_ID);
		this.deleteList.add(Integer.valueOf(CONTENT_ID));
	}

	public List<Integer> getDeleteList() {
		return deleteList;
	}

}
